package concurrency;

/**
 * This is what comes back from the chef
 */
class Plate {
    private final Order mOrder;

    private final Food mFood;

    public Plate(Order ord, Food f) {
        mOrder = ord;
        mFood = f;
    }

    public Order getOrder() {
        return mOrder;
    }

    @Override
    public String toString() {
        return mFood.toString();
    }
}
